package com.pig.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pig.pojo.user.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface
AdminDao {
@Select("select * from p_admin where binary username=#{username}")
    Admin findUserByAdminName(String username);
}
